<?php

include_once($ROOT . "base.inc.php");

class PageController extends BaseController {

  var $news;
  var $events;

  function PageController() {
	parent::__construct();

	$this->title = "Home";
	$this->section = "home";

	$this->news = NewsLogic::findRecent(5);
	$this->events = EventLogic::findUpcoming(5);
  }

  function parseForm() {

  }

  function validate() {
	return (sizeof($this->errs) == 0);
  }

}



?>
